﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CanTeenShow
{
    public class Device
    {
        public string deviceId { get; set; } = "1";
    }
    public class HTTPMsg
    {
        public string code { get; set; }
        public string msg { get; set; }
        public object data { get; set; }
    }
    public class deviceOrderQueueList
    {
        public string id { get; set; }
        public string num { get; set; }
        public string realPrice { get; set; }
        public string status { get; set; }
        public string orderNum { get; set; }
        public string created_at { get; set; }
        public string createdAt { get; set; }
        public string statusName { get; set; }
        public List<DeviceOrderQueue> typeList4 { get; set; }
        public List<DeviceOrderQueue> typeList3 { get; set; }
        public List<DeviceOrderQueue> typeList2 { get; set; }
        public List<DeviceOrderQueue> typeList1 { get; set; }
    }
    public class DeviceOrderQueue
    {
        public string id { get; set; } = "";
        public string type { get; set; } = "";
        public string orderId { get; set; } = "";
        /// <summary>
        /// 名称
        /// </summary>
        public string goodsName { get; set; } = "";
        public string goodsImg { get; set; } = "";
        public string goodsOptionName { get; set; } = "";
        /// <summary>
        /// -2后台删除 -1已删除 0已取消 1待付款 2已付款 3扫码排队(待制作) 4制作中 5已完成 -3已退款
        /// </summary>
        public string status { get; set; } = "";
        public string price { get; set; } = "";
        public string rePrice { get; set; } = "";
        public string num { get; set; } = "";
        public string totalPrice { get; set; } = "";
        /// <summary>
        /// 小吃机出餐内容
        /// </summary>
        public string jsonCodeVal { get; set; } = "";
        public string path { get; set; } = "";
        /// <summary>
        /// 图片
        /// </summary>
        public string goodsPath { get; set; } = "";
        public string statusName { get; set; } = "";
    }
    public class StockMsg
    {
        public string id { get; set; }
        public string classCode { get; set; }
        public string matterCodes { get; set; }
        public string deviceGoodsId { get; set; }
        public string title { get; set; }
        public string type { get; set; }
        public string stock { get; set; }
    }
    public class specification
    {
        /// <summary>
        /// 品类
        /// </summary>
        public string classCode { get; set; } = "";
        /// <summary>
        /// 温度 冰 1 正常 2
        /// </summary>
        public string headCode { get; set; } = "";
        /// <summary>
        /// 杯型 1，4oz 2，8oz 3，12oz 4，16oz
        /// </summary>
        public string cupCode { get; set; } = "";
        /// <summary>
        /// 甜度 1，全糖 2，七分糖 3，五分糖
        /// </summary>
        public string sweetCode { get; set; } = "";
        /// <summary>
        /// 糖类 1，糖1 2，糖2 3，糖3 4，糖4
        /// </summary>
        public string sugarCode { get; set; } = "";
    }
}
